package com.achievement.project.system.teacher.domain;

import com.achievement.framework.aspectj.lang.annotation.Excel;
import com.achievement.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 教师信息对象 sys_teacher
 *
 * @author zkai
 * @date 2021-04-24
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 工号 */
    @Excel(name = "工号")
    private String number;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 职位 */
    @Excel(name = "职位",dictType = "sys_post")
    private String position;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 简介 */
    private String Introduction;

    /** 密码 */
    @Excel(name = "密码")
    private String passWord;

    /** 年级id */
    @Excel(name = "年级",dictType = "sys_grade")
    private Long gradeId;

    /** 专业 */
    private Long professionalId;

    /** 班级 */
    private Long classId;

    /** 课程 */
    private Long courseId;

    @Excel(name = "课程")
    private String courseName;

    /** 课程类型 */
    @Excel(name = "课程类型",dictType = "sys_course_type")
    private Long courseTypeId;

    /** 校验工号是否编辑过 */
    private Long numCheck;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setIntroduction(String Introduction)
    {
        this.Introduction = Introduction;
    }

    public String getIntroduction()
    {
        return Introduction;
    }
    public void setPassWord(String passWord)
    {
        this.passWord = passWord;
    }

    public String getPassWord()
    {
        return passWord;
    }
    public void setGradeId(Long gradeId)
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId()
    {
        return gradeId;
    }
    public void setProfessionalId(Long professionalId)
    {
        this.professionalId = professionalId;
    }

    public Long getProfessionalId()
    {
        return professionalId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }

    public Long getNumCheck() {
        return numCheck;
    }

    public void setNumCheck(Long numCheck) {
        this.numCheck = numCheck;
    }

    public Long getCourseTypeId() {
        return courseTypeId;
    }

    public void setCourseTypeId(Long courseTypeId) {
        this.courseTypeId = courseTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("name", getName())
            .append("position", getPosition())
            .append("telephone", getTelephone())
            .append("Introduction", getIntroduction())
            .append("passWord", getPassWord())
            .append("gradeId", getGradeId())
            .append("professionalId", getProfessionalId())
            .append("classId", getClassId())
            .append("courseId", getCourseId())
            .toString();
    }
}
